﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace ZJF.GenericTech._02_引入泛型
{
    public class Calc
    {
        static int Add(int x, int y) {
            return x + y;
        }

        static float Add(float x, float y) {
            return x + y;
        }

        static int Sub(int x, int y) {
            return x - y;
        }

        static float Sub(float x, float y) {
            return x - y;
        }
    }
}
